package main

import "fmt"

func main() {

	arr := [...][3]string{
		{"你好", "hello"},
		{"你好", "hello"},
		{"你好", "hello", "咋回事"},
	}

	fmt.Println(arr)

	// 不支持二级推导
	arr2 := [3][...]string{
		{"你好", "hello"},
		{"你好", "hello"},
		{"你好", "hello", "咋回事"},
	}

	// .\数组推导.go:15:13: invalid use of [...] array (outside a composite literal)
	fmt.Println(arr2)

}
